﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VERKProjectHopur16.Models.QAAnswerModel>" %>
<%@ Import Namespace="VERKProjectHopur16.Helpers" %> 

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
        
        <fieldset>
           

            <div class="editor-label" style="display:none">
                <%: Html.LabelFor(model => model.QAID) %>
            </div>
            <div class="editor-field" style="display:none">
                <%: Html.TextBoxFor(model => model.QAID) %>
                <%: Html.ValidationMessageFor(model => model.QAID) %>
            </div>
            
            <div class="editor-label">
                <%: Html.Label(Lang.GetText("Menu", "Answer"))%>
            </div>
            <div class="editor-field">
                <%: Html.TextAreaFor(model => model.Answer, 15, 50, new { @id = "form-text-textarea" })%>
                <%: Html.ValidationMessageFor(model => model.Answer) %>
            </div>
            
            <p>
                <input type="submit" value="<%: Lang.GetText("Menu", "Submit") %>" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%: Html.ActionLink(Lang.GetText("Menu", "Back"), "PendingQuestion")%>
    </div>

